<?php $attributes = array('class' => 'main_cont', 'id' => 'myform', 'name' => 'myform', 'enctype' => "multipart/form-data") ?>
<?=form_open($this->uri->full_uri_address(), $attributes); ?>
<?php echo $toolbar?>
	<table class="field_box" id="tab-content">
		<tr>
			<td class="key"><label for="name"><?= lang('user_name_label');?></label></td>
			<td><?= form_input('name', $member->name, 'class="text"'); ?></td>
		</tr>
		<tr>
			<td class="key"><label for="email"><?= lang('user_email_label');?></label></td>
			<td><?= form_input('email', $member->email, 'class="text"'); ?></td>
		</tr>
		<tr>
			<td class="key"><label for="active"><?= lang('user_role_label');?></label></td>
			<td><?= form_dropdown('role', $roles, $member->role); ?></td>	
		</tr>
		<tr>
			<td class="key"><label for="active"><?= lang('user_activate_label');?></label></td>
			<td><?= form_checkbox('is_active', 1, $member->is_active == 1); ?></td>
		</tr>
		<tr>
			<td class="key"><label for="password"><?= lang('user_password_label');?></label></td>
			<td><?= form_password('password', '', 'class="text"'); ?></td>
		</tr>
		<tr>
			<td class="key"><label for="confirm_password"><?= lang('user_password_confirm_label');?></label></td>
			<td><?= form_password('confirm_password', '', 'class="text"'); ?></td>
		</tr>
	</table>
<?=form_close(); ?>